@extends('home.base.main')
@section('content')
<style>
#doPay{	
	margin-left:250px;
}
</style>
<br><br><br>
	<div id="doPay">
		<form id="pay">					
			<a href="javascript:onclick(pay())"><img src="{{ asset('images/zhifubao.jpg') }}"></a>
			<a href="javascript:onclick(pay())"><img src="{{ asset('images/wangyin.jpg') }}"></a>
			
			<input type="hidden" name="pid" value="{{ $pid }}">
			<input type="hidden" name="amount" value="{{ $amount }}">
			<input type="hidden" name="money" value="{{ $money }}">
			<input type="hidden" name="uname" value="{{ $uname }}">
			<input type="hidden" name="state" value="2">
			<input type="hidden" name="ptime" value="{{ $ptime }}">
		</form>
	</div>
	<script type="text/javascript">
		function pay(){			
			myform = document.getElementById('pay');			
			myform.action = "{{ url('home/dosuccess') }}";
			myform.method = 'get';
			myform.submit();
		}
	</script>
<br><br><br>
@endsection